package com.zhaojk.audio.domain;


import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
 * @author zhaojk
 */
@Data
public class WordVo {
    public WordVo(){
    }
    public WordVo(String text, boolean isCorrect){
        this.text = text;
        this.isCorrect = isCorrect;
    }
    private int id;
    private String text;
    private String translation;
    @JsonProperty("isCorrect")
    private boolean isCorrect = false;
}
